PDF4Java Reference Documentation
com.o2sol.pdf4java.graphics Package / PDFContentStream Class


In This Topic
    PDFContentStream Class Methods
    In This Topic

    For a list of all members of this type, see PDFContentStream members.

    Public Methods
     NameDescription
    Public MethodAdds the given operator to the content stream.  
    Public MethodBegins a compatibility section. Operator: BX.  
    Public MethodBegins an inline image. Operator: BI.  
    Public MethodBegins the data section of an inline image. Operator: ID.  
    Public MethodBegins a marked-content sequence.  
    Public MethodBegins a marked-content sequence with an associated property list.  
    Public MethodBegins a text section. Operator: BT.  
    Public MethodAppend a cubic Bézier curve to the current path. Operator: c  
    Public MethodClears the entire content stream.  
    Public MethodCloses and strokes the current path. Operator: s.  
    Public MethodCloses the current path, fills the path using the fillMode and then strokes the path. Operator: b for PDFFillMode.NonZeroWinding or b* for PDFFillMode.EvenOdd.  
    Public MethodCloses the current path. Operator: h.  
    Public MethodConcatenates the given matrix with the current transformation matrix. Operator: cm  
    Public MethodDefines a marked-content point.  
    Public MethodDefines a marked-content point with an associated property list.  
    Public MethodEnds a compatibility section. Operator: EX.  
    Public MethodEnds an inline image. Operator: EI.  
    Public MethodEnds a marked content section. Operator: EMC.  
    Public MethodEnds the current path. Operator: n.  
    Public MethodEnds a text section. Operator: ET.  
    Public MethodFills the current path using the fillMode and then strokes the path. Operator: B for PDFFillMode.NonZeroWinding or B* for PDFFillMode.EvenOdd.  
    Public MethodFills the current path using the fillMode. Operator: f for PDFFillMode.NonZeroWinding or f* for PDFFillMode.EvenOdd.  
    Public MethodAppends a line segment to current path from current point to (x, y). Operator: l  
    Public MethodMoves the text position. Operator: Td  
    Public MethodMoves the text position. Operator: TD  
    Public MethodBegins a new subpath at (x, y). Operator: m  
    Public MethodMoves to the start of the next line. Operator: T*  
    Public MethodAppends a rectangle to current path. Operator: re  
    Public MethodResets the coordinate system to default PDF coordinate system.  
    Public MethodRestores the current graphics state. Operator: Q.  
    Public MethodRestores the coordinate system as it has been setup initially by class.  
    Public MethodSaves the current graphics state. Operator: q.  
    Public MethodSets the character spacing. Operator: Tc  
    Public MethodSets the current path as clipping path. Operator: W for PDFFillMode.NonZeroWinding or W* for PDFFillMode.EvenOdd.  
    Public MethodSets the current colorspace for fill operations to DeviceCMYK and sets the current CMYK color. Operator: k  
    Public MethodSets the current colorspace for stroke operations to DeviceCMYK and sets the current CMYK color. Operator: K  
    Public MethodSets the current graphics state in the content stream. Operator: gs  
    Public MethodSets the current fill color. Operator: sc  
    Public MethodOverloaded. Sets the current fill color. Operator: scn  
    Public MethodSets the fill colorspace. Operator: cs  
    Public MethodSet the flatness tolerance in the graphics state. Operator: i  
    Public MethodSets the current colorspace for fill operations to DeviceGray and sets the gray level. Operator: g  
    Public MethodSets the current colorspace for stroke operations to DeviceGray and sets the gray level. Operator: g  
    Public MethodSet the line cap style in the graphics state. Operator: J  
    Public MethodSets the dash offset and pattern for stroke operations. Operator: d  
    Public MethodSet the line join style in the graphics state. Operator: j  
    Public MethodSets the line width in the graphics state.  
    Public MethodSet the miter limit in the graphics state. Operator: M  
    Public MethodSets the current colorspace for fill operations to DeviceRGB and sets the current RGB color. Operator: rg  
    Public MethodSets the current colorspace for stroke operations to DeviceRGB and sets the current RGB color. Operator: RG  
    Public MethodSets the current stroke color. Operator: SC  
    Public MethodOverloaded. Sets the current stroke color. Operator: SCN  
    Public MethodSets the stroke colorspace. Operator: CS  
    Public MethodSets the current font and size for text show operators. Operator: Tf  
    Public MethodSets the text horizontal scaling. Operator: Tz  
    Public MethodSets the text leading. Operator: TL  
    Public MethodSets the current text matrix and text line matrix. Operator: Tm  
    Public MethodSets the text rendering mode. Operator: Tr  
    Public MethodSets the text rise. Operator: Ts  
    Public MethodSets the word spacing. Operator: Tw  
    Public MethodShows a form XObject on the page. Operator: Do  
    Public MethodShows an image on the page. Operator: Do  
    Public MethodShows a shading on the page. Operator: sh  
    Public MethodShows the specified text on the page. Operator: Tj  
    Public MethodShows one or more text strings, allowing individual glyph positioning.  
    Public MethodStrokes the current path. Operator: S.  
    Public MethodAppend a cubic Bézier curve to the current path. Operator: v  
    Public MethodWrites the specified byte to the content stream.  
    Public MethodOverloaded. Writes the specified bytes to the content stream.  
    Public MethodAppend a cubic Bézier curve to the current path. Operator: y  
    Top
    See Also